package io.nutz.nutzsite.module.exam.models;

import io.nutz.nutzsite.common.base.BaseModel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import org.nutz.dao.entity.annotation.*;
import java.io.Serializable;
		
/**
 * 题型表 exam_qtype
 * 
 * @author lrw
 * @date 2020-04-08
 */
@Table("exam_qtype")
public class Qtype implements Serializable {
	private static final long serialVersionUID = 1L;
	
			@Id(auto=false)
		@Column("id")
	@Comment("题型编码")
	private Integer id;

		/** 题型名称 */
	@Column("name")
	@Comment("题型名称")
	private String name;

	
	

	public Integer getId() {
			return id;
		}




		public void setId(Integer id) {
			this.id = id;
		}




		public String getName() {
			return name;
		}




		public void setName(String name) {
			this.name = name;
		}




	@Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .toString();
    }
}
